package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the EX_ENTIDAD_LIMA_RPV database table.
 * 
 */
//@Entity
//@Table(name="EX_ENTIDAD_LIMA_RPV")
public class ExEntidadLimaRpv implements Serializable {
	private static final long serialVersionUID = 1L;
	private String anoTitu;
	private String areaRegId;
	private String codActo;
	private String codLibro;
	private BigDecimal entRefnum;
	private String entTipo;
	private String entTrigger;
	private String field1;
	private BigDecimal nsAsiento;
	private String numPartida;
	private String numTitu;
	private String oficRegId;
	private BigDecimal prioridad;
	private String regPubId;
	private Date tmstmpCrea;
	private BigDecimal txRefnum;

    public ExEntidadLimaRpv() {
    }


	@Column(name="ANO_TITU", length=4)
	public String getAnoTitu() {
		return this.anoTitu;
	}

	public void setAnoTitu(String anoTitu) {
		this.anoTitu = anoTitu;
	}


	@Column(name="AREA_REG_ID", nullable=false, length=5)
	public String getAreaRegId() {
		return this.areaRegId;
	}

	public void setAreaRegId(String areaRegId) {
		this.areaRegId = areaRegId;
	}


	@Column(name="COD_ACTO", length=5)
	public String getCodActo() {
		return this.codActo;
	}

	public void setCodActo(String codActo) {
		this.codActo = codActo;
	}


	@Column(name="COD_LIBRO", length=3)
	public String getCodLibro() {
		return this.codLibro;
	}

	public void setCodLibro(String codLibro) {
		this.codLibro = codLibro;
	}


	@Column(name="ENT_REFNUM", nullable=false)
	public BigDecimal getEntRefnum() {
		return this.entRefnum;
	}

	public void setEntRefnum(BigDecimal entRefnum) {
		this.entRefnum = entRefnum;
	}


	@Column(name="ENT_TIPO", nullable=false, length=4)
	public String getEntTipo() {
		return this.entTipo;
	}

	public void setEntTipo(String entTipo) {
		this.entTipo = entTipo;
	}


	@Column(name="ENT_TRIGGER", length=4)
	public String getEntTrigger() {
		return this.entTrigger;
	}

	public void setEntTrigger(String entTrigger) {
		this.entTrigger = entTrigger;
	}


	@Column(length=20)
	public String getField1() {
		return this.field1;
	}

	public void setField1(String field1) {
		this.field1 = field1;
	}


	@Column(name="NS_ASIENTO", precision=5)
	public BigDecimal getNsAsiento() {
		return this.nsAsiento;
	}

	public void setNsAsiento(BigDecimal nsAsiento) {
		this.nsAsiento = nsAsiento;
	}


	@Column(name="NUM_PARTIDA", length=8)
	public String getNumPartida() {
		return this.numPartida;
	}

	public void setNumPartida(String numPartida) {
		this.numPartida = numPartida;
	}


	@Column(name="NUM_TITU", length=8)
	public String getNumTitu() {
		return this.numTitu;
	}

	public void setNumTitu(String numTitu) {
		this.numTitu = numTitu;
	}


	@Column(name="OFIC_REG_ID", nullable=false, length=2)
	public String getOficRegId() {
		return this.oficRegId;
	}

	public void setOficRegId(String oficRegId) {
		this.oficRegId = oficRegId;
	}


	@Column(precision=38)
	public BigDecimal getPrioridad() {
		return this.prioridad;
	}

	public void setPrioridad(BigDecimal prioridad) {
		this.prioridad = prioridad;
	}


	@Column(name="REG_PUB_ID", nullable=false, length=2)
	public String getRegPubId() {
		return this.regPubId;
	}

	public void setRegPubId(String regPubId) {
		this.regPubId = regPubId;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TMSTMP_CREA", nullable=false)
	public Date getTmstmpCrea() {
		return this.tmstmpCrea;
	}

	public void setTmstmpCrea(Date tmstmpCrea) {
		this.tmstmpCrea = tmstmpCrea;
	}


	@Column(name="TX_REFNUM")
	public BigDecimal getTxRefnum() {
		return this.txRefnum;
	}

	public void setTxRefnum(BigDecimal txRefnum) {
		this.txRefnum = txRefnum;
	}

}